<include file="public@header"/>
</head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInUp js-check-wrap">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>用户级别</h5>
                    <div class="ibox-tools">
                       
                        <a href="{:url('userlevel/add')}" class="btn btn-primary btn-xs">添加</a>
                    </div>
                </div>
                <div class="ibox-content">
                    <table class="table table-hover table-bordered table-list">
                    <thead>
                    <tr>
                        <th width="50">
                            ID
                        </th>
                        <th>
                           名称
                        </th>
                        <th>
                           级别
                        </th>
                        <th>
                            直推人数
                        </th>
                        <th>
                            上一级别人数
                        </th>
                        <th>
                            团队人数
                        </th>
                        <th>
                            激活奖励(级差)
                        </th>
                        <th>
                            利润奖励(级差)
                        </th>
                        <th width="130">
                            操作
                        </th>
                    </tr>
                    </thead>
                    <tbody>
                    
                    <foreach name="rows" item="vo">
                    <tr>
                        <td>
                            {$vo.id}
                        </td>
                        <td>
                           {$vo.title}
                        </td>
                         <td>
                           {$vo.level}
                        </td>
                         <td>
                           {$vo.invite_num}
                        </td>
                        <td>
                           {$vo.previous_level_num}
                        </td>
                         <td>
                           {$vo.group_num}
                        </td>
                         <td>
                           {$vo.active_back_rate}
                        </td>
                         <td>
                           {$vo.profit_back_rate}
                        </td>
                        <td>
                          
                            <a href='{:url("userlevel/edit",array("id"=>$vo["id"]))}'><font color="#cccccc">{:lang('EDIT')}</font></a>
                          
                            <a class="js-ajax-delete" href="{:url('userlevel/delete',array('id'=>$vo['id']))}">{:lang('DELETE')}</a>
                        </td>
                    </tr>
                    </foreach>
                    </tbody>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="__STATIC__/js/admin.js"></script>

</body>
</html>